package com.iwhalecloud.citybrain.flow.platform.manager.domain.model.statistics;

import java.util.Date;

import com.iwhalecloud.citybrain.flow.platform.manager.domain.model.FlowProcessInstanceTraceVo;
import org.springframework.beans.BeanUtils;

/**
 * @author lilh
 * @date 2019-08-26 15:05
 */
public class ProcessInstanceStatisticsListVo {

    private String id;

    private String modelKey;

    private String modelName;

    private String processInstanceId;

    private Date startTime;

    private String status;

    private String starterName;

    private String serialNum;

    public ProcessInstanceStatisticsListVo(FlowProcessInstanceTraceVo source) {
        BeanUtils.copyProperties(source, this);
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getModelKey() {
        return modelKey;
    }

    public void setModelKey(String modelKey) {
        this.modelKey = modelKey;
    }

    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public String getProcessInstanceId() {
        return processInstanceId;
    }

    public void setProcessInstanceId(String processInstanceId) {
        this.processInstanceId = processInstanceId;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStarterName() {
        return starterName;
    }

    public void setStarterName(String starterName) {
        this.starterName = starterName;
    }

    public String getSerialNum() {
        return serialNum;
    }

    public void setSerialNum(String serialNum) {
        this.serialNum = serialNum;
    }
}
